package com.king01.controller;

import com.king01.service.TransferService;
import com.king01.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/transferco")
public class TransferController {
    @Autowired
    private TransferService transferService;
    @RequestMapping("/list")
    public Result list(Integer currentPage, Integer pageSize, String[] time){
        for(String t:time){
            System.out.println(t+"=====================================");
        }

        Result result = transferService.transferInfo(currentPage,pageSize,time);
        return result;
    }

}
